package com.studyroom.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("email_verification_codes")
public class EmailVerificationCode {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String username;
    private String email;
    private String code;
    private LocalDateTime expiresAt;
    private LocalDateTime createdAt;
    private Integer isUsed;
} 